﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MvcApp.Controllers
{
    public class HelloWorldController : Controller
    {
        //
        // GET: /HelloWorld/
        public ActionResult index()
        {
            return View();
        }
        public string Index()
        {
            return "这是我的<b>默认</b>action...";
        }
        public string WelCome(string name,int numtimes=1)
        {
            return HttpUtility.HtmlEncode("Hello "+name+",NumTimes is:"+numtimes);
        }

    }
}
